<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.tjsinfo.tjsoa.system.vo.TSystemYinzhang"%>
<%@page import="com.tjsinfo.tjsoa.documentationflow.xingzhengfawen.vo.YinZhang"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
//List systemyizhanglist = (List)session.getAttribute("systemYinzhangList");
//String userId = request.getParameter("userId");
List   yinZhangList = (List)session.getAttribute("yinZhangList");
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>电子印章列表</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel='stylesheet' type='text/css' href='dialog.css'>
<script type="text/javascript" src="<%=basePath %>ajaxFramework/jQuery/jquery.js"></script>
<script language=javascript><!--
function CheckValue(theForm)
{
  var mObject = window.dialogArguments;
  mObject.SelectValue=theForm.WordList.value;
  window.close();
  return;
}

</SCRIPT>
</head>
<body bgcolor="menu">
<form name="FormSelect">
<table border=0  cellspacing='0' cellpadding='0' width=100% height=100% align=center>
<tr>
<td align=center>
  <table border=0  cellspacing='0' cellpadding='0'>
  <tr>
    <td align=left  nowrap></td>
    <td align=left  nowrap class="TDStyle">请选择您要加盖的电子印章</td>
  </tr>
  <tr>
    <td align=right  nowrap class="TDStyle"></td>
    <td><select name=WordList style='width:240px;'>
    <%
    		Iterator iterator   = yinZhangList.iterator();
    		while(iterator.hasNext())
    		{
    			YinZhang taoHongMoBan =  (YinZhang)iterator.next();
    	%>
    		<option value="<%=taoHongMoBan.getFileName() %>"><%=taoHongMoBan.getViewName() %></option>
    	<%		
    		}
    		
    	%>
	
</select></td>
  </tr>
  <tr>
    <td align=left  nowrap></td>
    <td class="TDStyle">&nbsp;</td>
  </tr>
  </table>
</td>
</tr>
<tr>
<td align=center>
<input class=button type=button value="  确定  " onclick="CheckValue(FormSelect);">
<input class=button type=button value="  取消  " onclick="window.close();"> 
</td>
</tr>
</table>

</form>
</body>
</html>
